package com.zfzs.post.modules.goods.service.mapper.mybatis;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zfzs.post.model.vo.GoodsOrderVO;
import com.zfzs.post.modules.goods.domain.GoodOrder;
import com.zfzs.post.modules.goods.service.dto.GoodOrderQueryCriteria;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * @author wq
 * @date 2019/11/20 14:56
 * @description
 */
public interface IGoodsOrderMapper extends BaseMapper<GoodOrder> {

    int getCountGoodOrderPage(GoodOrderQueryCriteria criteria);

    List<Map<String,Object>> getListGoodOrderPage(@Param("ex") GoodOrderQueryCriteria criteria, @Param("offset") int offset, @Param("pageSize") int pageSize);
}
